#ifndef PRODUCTSDIALOG_H
#define PRODUCTSDIALOG_H

#include <QDialog>
#include <QStandardItemModel>

namespace Ui {
class ProductsDialog;
}

class ProductsDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit ProductsDialog(QStandardItemModel *__mainModel, QWidget *parent = 0);
    ~ProductsDialog();
    
private slots:
    void on_AddProduct_clicked();

    void on_InsertProduct_clicked();

    void on_RemoveProduct_clicked();

    void on_closeProducts_clicked();

    void on_SaveProducts_clicked();

    void on_CanceProducts_clicked();

private:
    Ui::ProductsDialog *ui;
    QStandardItemModel *mainModel;
    QStandardItemModel *model;
};

#endif // PRODUCTSDIALOG_H
